To control the display color of the message dialog box, you must set the window colors and the button colors using the following two meth- ods: MyInstance.WinForm.Win.SetColors(Border,Body,Title,Icons:byte); IOTOT.SetColButton(Off,OffHot,On,OnHot:byte);